package final关键字;

public class student成员变量 {
    private final String name/*="lee"*/;

    public student成员变量() {
        name = "ivy";
    }

    public student成员变量(String name) {
        this.name = name;
    }

    public String getName() {
        return name;
    }

    // public void setName(String name) {
    //     this.name = name;
    // }
}
